package org.jshand.cloud.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 作者: 张金山
 * 创建时间：2025/2/12 10:09   星期三
 * 描述：
 * 项目: spring-cloud-alibaba - org.jshand.cloud.service
 * 作者的博客:  https://blog.fulfill.com.cn
 */

@FeignClient("ProviderApp")
public interface OrderProviderService {


    @RequestMapping("/provider/order/{userId}")
    String order(@PathVariable("userId") String userId);


    @RequestMapping("/provider/colony/{userId}")
    String colony(@PathVariable("userId") String userId);

}
